package com.ssm.blog.service;

import com.github.pagehelper.PageInfo;
import com.ssm.blog.pojo.Diary;
import com.ssm.blog.pojo.Mood;
import com.ssm.blog.pojo.criteria.DiaryCriteria;
import com.ssm.blog.pojo.criteria.MoodCriteria;

import java.util.List;

public interface MoodService {
    void addMood(Mood mood);

    PageInfo<Mood> getMoodList(MoodCriteria criteria, int pageNo, int pageSize);

    void deleteMood(int id);
}
